package mmorpg.core.attribute;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description:
 * @Author: Mark
 * @CreateDate: 2021/7/11 16:39
 * @Copyright : 豆浆油条个人非正式工作室
 */
public enum  ResourceSysType {

    equipment,
    ;

    private Map<ResourceType, Long> resourceTypeLongMap = new HashMap<ResourceType, Long>();

    public  void alert(ResourceType resourceType, Long value){
        Long oldValue = resourceTypeLongMap.get(resourceType);
        if(oldValue == null){
            oldValue = 0L;
        }
        oldValue += value;
    };

}
